package com.bingguo.constant;

public class TokenConstants {
    /**
     * 令牌自定义标识
     */
    public static final String AUTHENTICATION = "Authorization";

    /**
     * 令牌前缀
     */
    public static final String PREFIX = "Bearer ";

    /**
     * 令牌秘钥
     */
    public final static String SECRET = "abcdefghijklmnopqrstuvwxyz1!2@3#4$5%6^7&8*90()";

    /**
     * token会话失效时间
     */
    public final static Long EXPIRE = 1800L;


    /**
     * 用户标识，每次登录生成uuid
     */
    public static final String UUID = "uuid";


    /**
     * token缓存前缀
     */
    public final static String LOGIN_TOKEN_KEY = "login_tokens:";

}
